package com.zxc.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zxc.entity.SysUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface SysUserMapper extends BaseMapper<SysUser> {
    List<SysUser> selectAllSysUser();
    List<Map> loadMenu(Integer userId);


    Map selectSysUser(@Param("username") String username);

    List<Map> loadPermission(int userId);

    String selectSysUserRole(@Param("sysUserName") String sysUserName);
}